package com.github.prontera.model.response;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.prontera.domain.Client;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Alex
 */

@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class LocationResponse extends RestfulResponse {

	private static final long serialVersionUID = 7883775815440213351L;

	@JsonProperty("loadedMorePage")
	@ApiModelProperty(value = "加载另外一种数据的页数", example = "true", required = true)
	private Integer loadedMorePage;

	@JsonProperty("clients")
	@ApiModelProperty(value = "用户的数据",required = true)
	private List<Client> clients;

	public Integer getLoadedMorePage() {
		return loadedMorePage;
	}

	public void setLoadedMorePage(Integer loadedMorePage) {
		this.loadedMorePage = loadedMorePage;
	}

	public List<Client> getClients() {
		return clients;
	}

	public void setClients(List<Client> clients) {
		this.clients = clients;
	}

}
